package cn.cxy.shapedemo

import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView
import cn.cxy.shapedemo.R.styleable.shape_text_view

class ShapeTextView : AppCompatTextView {

    constructor(context: Context) : super(context)
    constructor(context: Context, attrs: AttributeSet?) : super(context, attrs)
    constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : super(
        context,
        attrs,
        defStyleAttr
    ) {
        val typedArray = context.obtainStyledAttributes(attrs, shape_text_view)
        val radius = typedArray.getDimension(R.styleable.shape_text_view_radius, 0f)
    }

    init {


    }
}